package com.springboot.cloud.demos.entity.enums;


public enum MessageType {
    //1粉丝（关注） 2点赞，3评论,4,报名
    MESSAGE_TYPE_FOLLOW(1, "follow,"),
    MESSAGE_TYPE_SUPPORT(2, "support"),
    MESSAGE_TYPE_COMMENT(3, "comment"),
    MESSAGE_TYPE_SYSTEM(4, "system"),
    MESSAGE_TYPE_SIGN_UP(5, "signUp");

    private Integer code;
    private String name;

    MessageType(int code, String name) {
        this.code = code;
        this.name = name;

    }


    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}

